package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 分页查询
 */
@Transactional(rollbackFor = Exception.class)
public interface NursingPlanService {
    PageResponse<NursingPlanVo> pageQuer(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id删除护理计划
     * @param id
     */
    void delete(Long id);

    /**
     * 启用/禁用护理项目
     * @param id
     * @param status
     */
    void startOrStopStatus(Long id, Integer status);

    List<NursingPlan> getAll();

    NursingPlanVo findId(Long id);

    /**
     * 新增护理计划
     * @param nursingPlanDto
     */
    void add(NursingPlanDto nursingPlanDto);

    /**
     * 编辑护理计划
     * @param nursingPlanDto
     */
    void update(NursingPlanDto nursingPlanDto);

    /**
     * 根据Id查询
     * @param id
     * @return
     */

}
